import request from '@/utils/request'

export function list(data) {
  return request({
    url: '/admin/param-list',
    method: 'post',
    data: data,
  })
}

export function save(data) {
  return request({
    url: '/admin/param-edit',
    method: 'post',
    data: data,
  })
}

export function set(data) {
  return request({
    url: '/admin/param-enable',
    method: 'post',
    data: data,
  })
}


export function viewRes(data) {
  return request({
    url: '/admin/param-view-res',
    method: 'post',
    data: data,
  })
}

